package com.buyinglist.app.view;

import com.buyinglist.app.domain.City;
import com.buyinglist.app.domain.Region;

public class CityView {

	private Integer Id;
	private String name;
	private Region region;
	
	public CityView(City c){
		this.Id=c.getId();
		this.name=c.getName();
		this.region=c.getRegion();
	}

	public Integer getId() {
		return Id;
	}

	public void setId(Integer id) {
		Id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Region getRegion() {
		return region;
	}

	public void setRegion(Region region) {
		this.region = region;
	}
	
	
}
